/********************* 总容器 *********************/
.wrapper{
    width: 100%;
    height: 100%;
}
/********************* header *********************/
.wrapper header{
    width: 100%;
    height: 12vw;

    background-color: #0097ff;

    /*弹性布局*/
    display: flex;
	/*justify-content : center ; 居中*/
    /*垂直方向居中*/
    align-items: center;
}

/*定位小图标*/
.wrapper header .icon-location-box{
    width: 3.5vw;
    height: 3.5vw;
    /*外边距  上 右 下 左*/
    margin: 0 1vw 0 3vw;
}

.wrapper header .location-text{
    font-size: 4.5vw;
    font-weight: 700;
    color: #ffffff;
}

/*文字和倒三角分开*/
.wrapper header .locatin-text .fa-caret-down{
    margin-left:  1vw;
}

/********************* search *********************/
.wrapper .search{
    width: 100%;
    height: 13vw;
}

.wrapper .search-fixed-top{
    width: 100%;
    height: 13vw;
    background-color: #0097ff;
    /*元素上下左右居中*/
    display: flex;
    justify-content: center;
    align-items: center;
}

.wrapper .search-fixed-top .search-box{
    width: 90%;
    height: 9vw;
    background-color: #ffffff;
    /*圆角*/
    border-radius: 2px;

    /*元素上下左右居中*/
    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 3.5vw;
    color: #AEAEAE;
    font-family: "宋体";

    /*此样式让文本选中状态无效*/
    user-select: none;
}

.wrapper .search-fixed-top .search-box .fa-search{
    margin-right: 1vw;
}

/********************* 点餐分类部分 *********************/
.wrapper .foodtype{
    width: 100%;
    height: 48vw;

    display: flex;
    /*自动换行*/
    flex-wrap: wrap;

    justify-content: space-around;
    /*把两行当成整体居中 align-items各自居中*/
    align-content: center;
}

.wrapper .foodtype li{
    /*实现一排五个*/
    width: 18vw;
    height: 20vw;

    display: flex;
    /*改变主轴方向*/
    flex-direction: column;
    justify-content: center;
    align-items: center;

    user-select: none;
    /*鼠标悬浮变成手的样式*/
    cursor: pointer;
}

.wrapper .foodtype li img{
    width: 12vw;
    height: 12vw;

}

.wrapper .foodtype li p{
    font-size: 3.2vw;
    color: #666;
}

/********************* 横幅广告部分 *********************/
.wrapper .banner{
    width: 95%;
    margin: 0 auto;
    height: 29vw;

    /*背景图片自适应充满容器*/
    /*放入图片*/
    background-image: url(../img/index_banner.png);
    /*不平铺*/
    background-repeat: no-repeat;
    /*充满*/
    background-size: cover;

    /*边框设置内边距不会改变主体大小*/
    box-sizing: border-box;
    padding: 2vw 6vw;
}

.wrapper .banner h3{
    font-size: 4.2vw;
    margin-bottom: 1.2vw;
}

.wrapper .banner p{
    font-size: 3.4vw;
    color: #666666;
    margin-bottom: 2.4vw;
}

.wrapper .banner a{
    font-size: 3vw;
    color: #C79060;
    font-weight: 700;
}

/********************* 超级会员部分 *********************/
.wrapper .supermember{
    width: 95%;
    margin: 0 auto;
    height: 11.5vw;
    background-color: #FEEDC1;
    margin-top: 1.3vw;
    border-radius: 2px;
    color: #644F1B;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wrapper .supermember .supermember-left{
    display: flex;
    align-items: center;
    margin-left: 4vw;
    user-select: none;
}

.wrapper .supermember .supermember-left img{
    width: 6vw;
    height: 6vw;
    margin-right: 2vw;
}

.wrapper .supermember .supermember-left h3{
    font-size: 4vw;
    margin-right: 2vw;
}

.wrapper .supermember .supermember-left p{
    font-size: 3vw;
}

.wrapper .supermember .supermember-right{
    font-size: 3vw;
    margin-right: 4vw;
}

/********************* 推荐商家部分 *********************/
.wrapper .recommend{
    width: 100%;
    height: 14vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wrapper .recommend .recommend-line{
    width: 6vw;
    height: 0.2vw;
    background-color: #888;
}

.wrapper .recommend p{
    font-size: 4vw;
    margin: 0 4vw;
}

/********************* 推荐方式部分 *********************/
.wrapper .recommendtype{
    width: 100%;
    height: 5vw;
    margin-bottom: 5vw;

    display: flex;
    justify-content: space-around;
    align-items: center;
}

.wrapper .recommendtype li{
    font-size: 3.5vw;
    color: #555;
}

/********************* 推荐商家部分 *********************/
.wrapper .business{
    width: 100%;
    padding-bottom: 14vw;
}

.wrapper .business li{
    width: 100%;

    /*变成边框盒子，使用内边距*/
    box-sizing: border-box;
    padding: 2.5vw;
    user-select: none;
    /*下边框*/
    border-bottom: solid 1px #DDD;
    display: flex;

}

.wrapper .business li img{
    width: 18vw;
    height: 18vw;
}

.wrapper .business li .business-info{
    width: 100%;
    box-sizing: border-box;
    padding-left: 3vw;
}

.wrapper .business li .business-info .business-info-h{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2vw;
}

.wrapper .business li .business-info .business-info-h h3{
    font-size: 4vw;
    color: #333;
}

.wrapper .business li .business-info .business-info-h .business-info-like{
    width: 1.6vw;
    height: 3.4vw;
    background-color: #666666;
    color: #ffffff;
    font-size: 4vw;
    margin-right: 4vw;

    display: flex;
    justify-content: center;
    align-items: center;

}

.wrapper .business li .business-info .business-info-star{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2vw;
    font-size: 3.1vw;
}

.wrapper .business li .business-info .business-info-star .business-info-star-left{
    display: flex;
    align-items: center;
}

.wrapper .business li .business-info .business-info-star .business-info-star-left .fa-star{
    color: #FEC80E;
    margin-right: 0.5vw;
}

.wrapper .business li .business-info .business-info-star .business-info-star-left p{
    color: #666666;
    margin-left: 1vw;
}

.wrapper .business li .business-info .business-info-star .business-info-star-right{
    background-color:linear-gradient(#F37373,#F08080,#EF9292);
    color: #ffffff;
    font-size: 2.4vw;
    border-radius: 2px;
    padding: 0 0.6vw;
}

.wrapper .business li .business-info .business-info-delivery{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2vw;

    color: #666666;
    font-size: 3.1vw;
}

.wrapper .business li .business-info .business-info-explain{
    display: flex;
    align-items: center;
    margin-bottom: 3vw;
}

.wrapper .business li .business-info .business-info-explain div{
    border: solid 1px #DDDDDD;
    font-size: 2.8vw;
    color: #666666;
    border-radius: 3px;
    padding: 0 0.1vw;
}
.wrapper .business li .business-info .business-info-promotion{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.8vw;
}

.wrapper .business li .business-info .business-info-promotion .business-info-promotion-left{
    display: flex;
    align-items: center;
}

.wrapper .business li .business-info .business-info-promotion .business-info-promotion-left .business-info-promotion-left-incon{
    width: 4vw;
    height: 4vw;
    background-color: #A1BA80;
    border-radius: 3px;
    font-size: 3vw;
    color: #ffffff;

    display: flex;
    justify-content: center;
    align-items: center;
}

.wrapper .business li .business-info .business-info-promotion .business-info-promotion-left p{
    color: #666666;
    font-size: 3vw;
    margin-left: 2vw;
}

.wrapper .business li .business-info .business-info-promotion .business-info-promotion-right{
    display: flex;
    align-items: center;
    color: #999;
    font-size: 2.5vw;
}

.wrapper .business li .business-info .business-info-promotion .business-info-promotion-right p{
    margin-right: 2vw;
}

/********************* 底部菜单部分 *********************/
.wrapper .footer{
    width: 100%;
    height: 14vw;
    border-top: solid 1px #DDDDDD;
    background-color:#0097ff;

    position: fixed;
    left: 0;
    bottom: 0;

    display: flex;
    justify-content: space-around;
    align-items: center;

}

.wrapper .footer li{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    color: #ffffff;
    user-select: none;
    cursor: pointer;
}

.wrapper .footer li p{
    font-size: 2.8vw;
}

.wrapper .footer li i{
    font-size: 5vw;
}